package com.neuedu.service;

import com.neuedu.pojo.Permission;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 权限 服务类
 * </p>
 *
 * @author wgq
 * @since 2020-09-18
 */
public interface IPermissionService extends IService<Permission> {
    Object list(Permission Permission);
    boolean add(Permission Permission);

    List<Permission> userPermissionList(Integer userId);

    List<Permission> userPermissionListValidate(Integer userId);
}
